  /**
   * Generate time : 2016-06-02 12:36:00
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zm.ch.domain;

import com.baosight.iplat4j.util.NumberUtils;
import java.math.BigDecimal;
import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * ZMCHMineValidateData 
 * table comment : 采煤验收汇报 
 */
public class ZMCHMineValidateData extends DaoEPBase {

	private String fdKeyId = " ";		/* 主键*/
	private String fdCheckKey = " ";		/* 外键*/
	private String fdProjectPlace = " ";		/* 工程地点*/
	private String fdProjectId = " ";		/* 工程ID*/
	private String fdProjectName = " ";		/* 项目名称*/
	private BigDecimal fdCl = new BigDecimal("0");		/* 产量*/
	private BigDecimal fdClM = new BigDecimal("0");		/* 产量月累计*/
	private BigDecimal fdBoost = new BigDecimal("0");		/* 推进(米)*/
	private BigDecimal fdBoostM = new BigDecimal("0");		/* 推进月累计(米)*/
	private BigDecimal fdMjM = new BigDecimal("0");		/* 面积月累计*/
	private BigDecimal fdMj = new BigDecimal("0");		/* 面积*/
	private String fdDepartmentId = " ";		/* 施工部门ID*/
	private String fdDepartment = " ";		/* 施工部门*/
	private BigDecimal fdStart = new BigDecimal("0");		/* 机头*/
	private BigDecimal fdEnd = new BigDecimal("0");		/* 机尾*/
	private BigDecimal fdAverage = new BigDecimal("0");		/* 平均*/
	private BigDecimal fdWidth = new BigDecimal("0");		/* 宽度*/
	private BigDecimal fdMineHight = new BigDecimal("0");		/* 采高(m)*/
	private BigDecimal fdThickness = new BigDecimal("0");		/* 煤厚(m)*/
	private BigDecimal fdBulkDensity = new BigDecimal("0");		/* 容重(t/m3)*/
	private BigDecimal fdbhcmj = new BigDecimal("0");
	private BigDecimal fdbhcmjM = new BigDecimal("0");
	private BigDecimal fdbhccl = new BigDecimal("0");
	public BigDecimal getFdbhcmj() {
		return fdbhcmj;
	}
	public void setFdbhcmj(BigDecimal fdbhcmj) {
		this.fdbhcmj = fdbhcmj;
	}
	public BigDecimal getFdbhcmjM() {
		return fdbhcmjM;
	}
	public void setFdbhcmjM(BigDecimal fdbhcmjM) {
		this.fdbhcmjM = fdbhcmjM;
	}
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("fdKeyId");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdbhcmj");
	eiColumn.setType("N");
	eiColumn.setScaleLength(0);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("保护层面积");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdbhcmjM");
	eiColumn.setType("N");
	eiColumn.setScaleLength(0);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("保护层面积月累计");
	eiMetadata.addMeta(eiColumn);

	
	eiColumn = new EiColumn("fdCheckKey");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("外键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdProjectPlace");
	eiColumn.setFieldLength(200);	
	eiColumn.setDescName("工程地点");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdProjectId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("工程ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdProjectName");
	eiColumn.setFieldLength(100);	
	eiColumn.setDescName("项目名称");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCl");
	eiColumn.setType("N");
	eiColumn.setScaleLength(0);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("产量");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdClM");
	eiColumn.setType("N");
	eiColumn.setScaleLength(0);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("产量月累计");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdBoost");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("推进(米)");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdBoostM");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("推进月累计(米)");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdMjM");
	eiColumn.setType("N");
	eiColumn.setScaleLength(0);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("面积月累计");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdMj");
	eiColumn.setType("N");
	eiColumn.setScaleLength(0);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("面积");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDepartmentId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("施工部门ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDepartment");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("施工部门");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdStart");
	eiColumn.setType("N");
	eiColumn.setScaleLength(1);
	eiColumn.setFieldLength(8);
	eiColumn.setDescName("机头");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdEnd");
	eiColumn.setType("N");
	eiColumn.setScaleLength(1);
	eiColumn.setFieldLength(8);
	eiColumn.setDescName("机尾");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdAverage");
	eiColumn.setType("N");
	eiColumn.setScaleLength(1);
	eiColumn.setFieldLength(8);
	eiColumn.setDescName("平均");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdWidth");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("宽度");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdMineHight");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("采高(m)");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdThickness");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("煤厚(m)");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdBulkDensity");
	eiColumn.setType("N");
	eiColumn.setScaleLength(4);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("容重(t/m3)");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdbhccl");
	eiColumn.setType("N");
	eiColumn.setScaleLength(0);
	eiColumn.setFieldLength(12);
	eiColumn.setDescName("保护层产量");
	eiMetadata.addMeta(eiColumn);

	}
	/**
	 * the constructor
	 */
	public ZMCHMineValidateData() {
		initMetaData();
	}
	
	/**
	 * get the fdKeyId - 主键
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}
	
	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}
	/**
	 * get the fdCheckKey - 外键
	 * @return the fdCheckKey
	 */
	public String getFdCheckKey() {
		return this.fdCheckKey;
	}
	
	/**
	 * set the fdCheckKey - 外键
	 */
	public void setFdCheckKey(String fdCheckKey) {
		this.fdCheckKey = fdCheckKey;
	}
	/**
	 * get the fdProjectPlace - 工程地点
	 * @return the fdProjectPlace
	 */
	public String getFdProjectPlace() {
		return this.fdProjectPlace;
	}
	
	/**
	 * set the fdProjectPlace - 工程地点
	 */
	public void setFdProjectPlace(String fdProjectPlace) {
		this.fdProjectPlace = fdProjectPlace;
	}
	/**
	 * get the fdProjectId - 工程ID
	 * @return the fdProjectId
	 */
	public String getFdProjectId() {
		return this.fdProjectId;
	}
	
	/**
	 * set the fdProjectId - 工程ID
	 */
	public void setFdProjectId(String fdProjectId) {
		this.fdProjectId = fdProjectId;
	}
	/**
	 * get the fdProjectName - 项目名称
	 * @return the fdProjectName
	 */
	public String getFdProjectName() {
		return this.fdProjectName;
	}
	
	/**
	 * set the fdProjectName - 项目名称
	 */
	public void setFdProjectName(String fdProjectName) {
		this.fdProjectName = fdProjectName;
	}
	/**
	 * get the fdCl - 产量
	 * @return the fdCl
	 */
	public BigDecimal getFdCl() {
		return this.fdCl;
	}
	
	/**
	 * set the fdCl - 产量
	 */
	public void setFdCl(BigDecimal fdCl) {
		this.fdCl = fdCl;
	}
	/**
	 * get the fdClM - 产量月累计
	 * @return the fdClM
	 */
	public BigDecimal getFdClM() {
		return this.fdClM;
	}
	
	/**
	 * set the fdClM - 产量月累计
	 */
	public void setFdClM(BigDecimal fdClM) {
		this.fdClM = fdClM;
	}
	/**
	 * get the fdBoost - 推进(米)
	 * @return the fdBoost
	 */
	public BigDecimal getFdBoost() {
		return this.fdBoost;
	}
	
	/**
	 * set the fdBoost - 推进(米)
	 */
	public void setFdBoost(BigDecimal fdBoost) {
		this.fdBoost = fdBoost;
	}
	/**
	 * get the fdBoostM - 推进月累计(米)
	 * @return the fdBoostM
	 */
	public BigDecimal getFdBoostM() {
		return this.fdBoostM;
	}
	
	/**
	 * set the fdBoostM - 推进月累计(米)
	 */
	public void setFdBoostM(BigDecimal fdBoostM) {
		this.fdBoostM = fdBoostM;
	}
	/**
	 * get the fdMjM - 面积月累计
	 * @return the fdMjM
	 */
	public BigDecimal getFdMjM() {
		return this.fdMjM;
	}
	
	/**
	 * set the fdMjM - 面积月累计
	 */
	public void setFdMjM(BigDecimal fdMjM) {
		this.fdMjM = fdMjM;
	}
	/**
	 * get the fdMj - 面积
	 * @return the fdMj
	 */
	public BigDecimal getFdMj() {
		return this.fdMj;
	}
	
	/**
	 * set the fdMj - 面积
	 */
	public void setFdMj(BigDecimal fdMj) {
		this.fdMj = fdMj;
	}
	/**
	 * get the fdDepartmentId - 施工部门ID
	 * @return the fdDepartmentId
	 */
	public String getFdDepartmentId() {
		return this.fdDepartmentId;
	}
	
	/**
	 * set the fdDepartmentId - 施工部门ID
	 */
	public void setFdDepartmentId(String fdDepartmentId) {
		this.fdDepartmentId = fdDepartmentId;
	}
	/**
	 * get the fdDepartment - 施工部门
	 * @return the fdDepartment
	 */
	public String getFdDepartment() {
		return this.fdDepartment;
	}
	
	/**
	 * set the fdDepartment - 施工部门
	 */
	public void setFdDepartment(String fdDepartment) {
		this.fdDepartment = fdDepartment;
	}
	/**
	 * get the fdStart - 机头
	 * @return the fdStart
	 */
	public BigDecimal getFdStart() {
		return this.fdStart;
	}
	
	/**
	 * set the fdStart - 机头
	 */
	public void setFdStart(BigDecimal fdStart) {
		this.fdStart = fdStart;
	}
	/**
	 * get the fdEnd - 机尾
	 * @return the fdEnd
	 */
	public BigDecimal getFdEnd() {
		return this.fdEnd;
	}
	
	/**
	 * set the fdEnd - 机尾
	 */
	public void setFdEnd(BigDecimal fdEnd) {
		this.fdEnd = fdEnd;
	}
	/**
	 * get the fdAverage - 平均
	 * @return the fdAverage
	 */
	public BigDecimal getFdAverage() {
		return this.fdAverage;
	}
	
	/**
	 * set the fdAverage - 平均
	 */
	public void setFdAverage(BigDecimal fdAverage) {
		this.fdAverage = fdAverage;
	}
	/**
	 * get the fdWidth - 宽度
	 * @return the fdWidth
	 */
	public BigDecimal getFdWidth() {
		return this.fdWidth;
	}
	
	/**
	 * set the fdWidth - 宽度
	 */
	public void setFdWidth(BigDecimal fdWidth) {
		this.fdWidth = fdWidth;
	}
	/**
	 * get the fdMineHight - 采高(m)
	 * @return the fdMineHight
	 */
	public BigDecimal getFdMineHight() {
		return this.fdMineHight;
	}
	
	/**
	 * set the fdMineHight - 采高(m)
	 */
	public void setFdMineHight(BigDecimal fdMineHight) {
		this.fdMineHight = fdMineHight;
	}
	/**
	 * get the fdThickness - 煤厚(m)
	 * @return the fdThickness
	 */
	public BigDecimal getFdThickness() {
		return this.fdThickness;
	}
	
	/**
	 * set the fdThickness - 煤厚(m)
	 */
	public void setFdThickness(BigDecimal fdThickness) {
		this.fdThickness = fdThickness;
	}
	/**
	 * get the fdBulkDensity - 容重(t/m3)
	 * @return the fdBulkDensity
	 */
	public BigDecimal getFdBulkDensity() {
		return this.fdBulkDensity;
	}
	
	/**
	 * set the fdBulkDensity - 容重(t/m3)
	 */
	public void setFdBulkDensity(BigDecimal fdBulkDensity) {
		this.fdBulkDensity = fdBulkDensity;
	}
	
	/**
	 * get the fdbhccl - 保护层产量
	 * @return the fdbhccl
	 */
	public BigDecimal getFdbhccl() {
		return this.fdbhccl;
	}
	
	/**
	 * set the fdbhccl - 保护层产量
	 */
	public void setFdbhccl(BigDecimal fdbhccl) {
		this.fdbhccl = fdbhccl;
	}
	
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdCheckKey(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCheckKey")), fdCheckKey));
		setFdProjectPlace(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdProjectPlace")), fdProjectPlace));
		setFdProjectId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdProjectId")), fdProjectId));
		setFdProjectName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdProjectName")), fdProjectName));
		setFdCl(NumberUtils.toBigDecimal(StringUtils.toString(map.get("fdCl")), fdCl));
		setFdClM(NumberUtils.toBigDecimal(StringUtils.toString(map.get("fdClM")), fdClM));
		setFdBoost(NumberUtils.toBigDecimal(StringUtils.toString(map.get("fdBoost")), fdBoost));
		setFdBoostM(NumberUtils.toBigDecimal(StringUtils.toString(map.get("fdBoostM")), fdBoostM));
		setFdMjM(NumberUtils.toBigDecimal(StringUtils.toString(map.get("fdMjM")), fdMjM));
		setFdMj(NumberUtils.toBigDecimal(StringUtils.toString(map.get("fdMj")), fdMj));
		setFdDepartmentId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepartmentId")), fdDepartmentId));
		setFdDepartment(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepartment")), fdDepartment));
		setFdStart(NumberUtils.toBigDecimal(StringUtils.toString(map.get("fdStart")), fdStart));
		setFdEnd(NumberUtils.toBigDecimal(StringUtils.toString(map.get("fdEnd")), fdEnd));
		setFdAverage(NumberUtils.toBigDecimal(StringUtils.toString(map.get("fdAverage")), fdAverage));
		setFdWidth(NumberUtils.toBigDecimal(StringUtils.toString(map.get("fdWidth")), fdWidth));
		setFdMineHight(NumberUtils.toBigDecimal(StringUtils.toString(map.get("fdMineHight")), fdMineHight));
		setFdThickness(NumberUtils.toBigDecimal(StringUtils.toString(map.get("fdThickness")), fdThickness));
		setFdBulkDensity(NumberUtils.toBigDecimal(StringUtils.toString(map.get("fdBulkDensity")), fdBulkDensity));
	
		setFdbhcmj(NumberUtils.toBigDecimal(StringUtils.toString(map.get("fdbhcmj")), fdbhcmj));
		setFdbhcmjM(NumberUtils.toBigDecimal(StringUtils.toString(map.get("fdbhcmjM")), fdbhcmjM));
		setFdbhccl(NumberUtils.toBigDecimal(StringUtils.toString(map.get("fdbhccl")), fdbhccl));

	
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("fdKeyId",StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));	
			map.put("fdCheckKey",StringUtils.toString(fdCheckKey, eiMetadata.getMeta("fdCheckKey")));	
			map.put("fdProjectPlace",StringUtils.toString(fdProjectPlace, eiMetadata.getMeta("fdProjectPlace")));	
			map.put("fdProjectId",StringUtils.toString(fdProjectId, eiMetadata.getMeta("fdProjectId")));	
			map.put("fdProjectName",StringUtils.toString(fdProjectName, eiMetadata.getMeta("fdProjectName")));	
			map.put("fdCl",StringUtils.toString(fdCl, eiMetadata.getMeta("fdCl")));	
			map.put("fdClM",StringUtils.toString(fdClM, eiMetadata.getMeta("fdClM")));	
			map.put("fdBoost",StringUtils.toString(fdBoost, eiMetadata.getMeta("fdBoost")));	
			map.put("fdBoostM",StringUtils.toString(fdBoostM, eiMetadata.getMeta("fdBoostM")));	
			map.put("fdMjM",StringUtils.toString(fdMjM, eiMetadata.getMeta("fdMjM")));	
			map.put("fdMj",StringUtils.toString(fdMj, eiMetadata.getMeta("fdMj")));	
			map.put("fdDepartmentId",StringUtils.toString(fdDepartmentId, eiMetadata.getMeta("fdDepartmentId")));	
			map.put("fdDepartment",StringUtils.toString(fdDepartment, eiMetadata.getMeta("fdDepartment")));	
			map.put("fdStart",StringUtils.toString(fdStart, eiMetadata.getMeta("fdStart")));	
			map.put("fdEnd",StringUtils.toString(fdEnd, eiMetadata.getMeta("fdEnd")));	
			map.put("fdAverage",StringUtils.toString(fdAverage, eiMetadata.getMeta("fdAverage")));	
			map.put("fdWidth",StringUtils.toString(fdWidth, eiMetadata.getMeta("fdWidth")));	
			map.put("fdMineHight",StringUtils.toString(fdMineHight, eiMetadata.getMeta("fdMineHight")));	
			map.put("fdThickness",StringUtils.toString(fdThickness, eiMetadata.getMeta("fdThickness")));	
			map.put("fdBulkDensity",StringUtils.toString(fdBulkDensity, eiMetadata.getMeta("fdBulkDensity")));	
			
			map.put("fdbhcmj",StringUtils.toString(fdbhcmj, eiMetadata.getMeta("fdbhcmj")));	
			map.put("fdbhcmjM",StringUtils.toString(fdbhcmjM, eiMetadata.getMeta("fdbhcmjM")));	
			map.put("fdbhccl",StringUtils.toString(fdbhccl, eiMetadata.getMeta("fdbhccl")));
		return map;
	
	}
}